#include <stdio.h>  
  
#define ADD(x, y) ((x) + (y))  // 加法
#define SUBTRACT(x, y) ((x) - (y))  // 减法   
#define MULTIPLY(x, y) ((x) * (y))  // 乘法 
#define DIVIDE(x, y) (((y) != 0) ? ((x) / (y)) : (0)) // 除法 
  
int main() {  
    int a = 10, b = 5;  
  
    printf("%d + %d = %d\n", a, b, ADD(a, b));  
    printf("%d - %d = %d\n", a, b, SUBTRACT(a, b));  
    printf("%d * %d = %d\n", a, b, MULTIPLY(a, b));  
    printf("%d / %d = %d\n", a, b, DIVIDE(a, b));  
  
    return 0;  
}